import { http, httpGet, httpPost } from '@/http/http'

// 获取个人信息
export function getMe(userId: number | string) {
  return httpGet('/zhuanjia/detail/list', { userId })
}
// 新增详情
export function addMe(params: any) {
  return httpPost('/zhuanjia/detail/add', undefined, params)
}
// 修改详情
export function editMe(params: any) {
  return http.put('/zhuanjia/detail/edit', undefined, params)
}
